package com.sakura.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @author : Sakura
 * @Date : 2024/1/10 14:08
 * @Description : TODO
 */
@ApiModel(description = "分页检查记录视图对象")
@Data
@Accessors(chain = true)//链式编程
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class QueryCheckRecordVO {
    /**
     * 记录信息
     */
    private Long id;
    private Double param;
    private String conclusion;
    private Integer finished;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date checkTime;


    /**
     * 网格员信息
     */
    private String gridName;
    private String gridPhone;
    /**
     * 老人信息
     */
    private String elderlyName;
    private String elderlyPhone;
    /**
     * 项目信息
     */
    private String projectName;
}
